﻿using System.ComponentModel;

namespace Framework.Models
{
    public enum EmployeeStatus
    {
        [Description("解除")]
        RelieveStatus = -3,

        [Description("撤销")]
        RevokeStatus = -2,

        [Description("待生效")]
        WaitStatus = -1,

        [Description("待分配")]
        NotStatus = 0,

        [Description("待确认")]
        PendingStatus = 1,

        [Description("已办理")]
        StatusDone = 2,

        [Description("正常")]
        Normal = 3
    }

    [Flags]
    public enum Roles
    {
        Admin = 1,
        Member = 2
    }
    public enum FlowLevel
    {
        /// <summary>正常 /// </summary>
        Normal = 1,
        /// <summary>加急 /// </summary>
        Urgent = 2,
        /// <summary>特急优先处理 /// </summary>
        First = 3
    }
    /// <summary>
    ///  1 开始节点,2 网关节点 ,3 条件节点 ,4 审批节点 5 结束节点
    /// </summary>
    public enum FlowNodeType
    {
        Disable = -1,
        Start = 1,
        Getway = 2,
        Condition = 3,
        Approval = 4,
        End = 5,
    } 
    /// <summary>
    ///  1: 通过
    ///  2：不通过
    ///  3：驳回
    /// </summary>
    public struct TagState
    {
        public const int Ok = 1;
        public const int No = 2;
        public const int Reject = 3; 
    } 
    
}